package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BaseEquipment;

public class Equipment extends BaseEquipment {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public Equipment() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public Equipment(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public Equipment(java.lang.Integer id, java.lang.String name,
			java.lang.String desc, java.lang.Integer type,
			java.lang.Integer level, java.lang.Integer npcSell,
			java.lang.Integer price, java.lang.Integer dropRate,
			java.lang.Integer dropLevel, java.lang.Integer equipLevel,
			java.lang.Integer equipInterval, java.lang.Integer equipAttack,
			java.lang.Integer equipDefense, java.lang.Integer equipLife) {

		super(id, name, desc, type, level, npcSell, price, dropRate, dropLevel,
				equipLevel, equipInterval, equipAttack, equipDefense, equipLife);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setDesc("");
		this.setDropLevel(0);
		this.setDropRate(0);
		this.setEquipAttack(0);
		this.setEquipDefense(0);
		this.setEquipInterval(0);
		this.setEquipLevel(0);
		this.setEquipLife(0);
		this.setId(0);
		this.setLevel(0);
		this.setName("");
		this.setNpcSell(0);
		this.setPrice(0);
		this.setType(0);
	}

}